﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using AutoMapper;

namespace Xc.DataAccess.DataBase.DeviceInfos.Models
{
    public class MapperProfile:Profile
    {
        public MapperProfile()
        {
            CreateMap<DeviceInfo, DeviceInfoAdd>();
            CreateMap<DeviceInfoAdd, DeviceInfo>();
            CreateMap<CommandInfo, CommandInfoAdd>();
            CreateMap<CommandInfoAdd, CommandInfo>();
        }
    }
}
